# 努力学习
# 比肩漆时祺和周期许
# class IhrmLoginApi():
#     @classmethod
#     def login(self,json):
#         resp=requests.post(url='xxxxxxxxxxxxxxxxxxxxxxxxxxxx',
#                       json=json)
#         return resp

# class SCLoginApi():
#     @classmethod
#     def login(self,session,data):
#         resp=session.post(url='http://127.0.0.1:8888/api/private/v1/login',
#                           json=data)
#         return resp

class SCLoginApi():
    @classmethod
    def login(self,session,json_data):
        resp=session.post(url='http://127.0.0.1:8888/api/private/v1/login',
                          data=json_data)
        return resp